﻿using MediatR;
using SmartCity.BasicData.Common;

namespace SmartCity.BasicData.Api.Write.Application.Command.Account
{
    public class UpdateAccountCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 账号id
        /// </summary>
        public long Id {  get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string AccountPass { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string AccountNickname { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string AccountPhone { get; set; }
        /// <summary>
        /// 证件
        /// </summary>
        public string AccountCard { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public long RoleId { get; set; }
        /// <summary>
        /// 所属部门id
        /// </summary>
        public long DepartmentId { get; set; }
    }
}
